{include file="header.tpl" title="Bao tri tai khoan Microbank"}
<form name ="tongquat" action="" method="post" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="25%">{$lbl_soTK}</td>
    <td colspan="3" style="color:#FF0000"><input name="ACCTNO" id="ACCTNO" type="text" style="background:{$colorsoTK}" value="{$ACCTNO}" size="20" maxlength="10" {if $activefield eq 'enabled'}readonly{/if} onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
      *
        <select name="CURCODE" size="1" {if $activefield eq 'enabled'} disabled="disabled" {/if} >
        {foreach from=$currcode item=curr}
			<option value="{$curr}" {if $curr eq $active} selected="selected" {/if} >{$curr}</option>
		{/foreach}
      </select>
	  <input id="replacement_find" type="submit" name="find" value="    "  height="15" {if $activefield eq 'enabled' }disabled="disabled" {/if}/>
	  <input type="hidden" name="CURCODEhidden" value="{$active}"/></td>
  </tr>
  <tr>
    <td >{$lbl_tenTK}</td>
    <td colspan="3" style="color:#FF0000"><input type="text" name="ACNAME" size="50" value="{$ACNAME}" style="background:{$colortenTK}" maxlength="100"/>
    *</td>
  </tr>
  <tr>
    <td >{$lbl_tenTK2}</td>
    <td colspan="3" style="color:#FF0000"><input type="text" name="ACNAME2" size="50" value="{$ACNAME2}" style="background:{$colortenTK2}" maxlength="100"/>
    *</td>
  </tr>
  <tr>
    <td >{$lbl_loaiTK}</td>
    <td><select name="TYPE" size="1">
      {foreach from=$type item=k}
			<option value="{$k}" {if $k eq $activetype} selected="selected" {/if} >{$k}</option>
		{/foreach}
    </select></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td >{$lbl_no_co}</td>
    <td><select name="DORC" size="1">
      {foreach from=$dorc key=k item=v}
	  	<option value="{$k}" {if $k eq $activedorc} selected="selected" {/if} >{$v}</option>
	  {/foreach}
    </select></td>
    <td width="25%">{$lbl_hoatdong}</td>
    <td><select name="ENABLED" size="1">
       {foreach from=$enable key=k item=v}
	  	<option value="{$k}" {if $k eq $activeenable} selected="selected" {/if} >{$v}</option>
	  {/foreach}
    </select></td>
  </tr>
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p>

</td>
</tr>
<tr>

<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'ACCTNO-CURCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>

{$javascriptsetstyle}
{include file="footer.tpl"}
